package com.monkey.controller;

import com.monkey.dao.pojo.SysUser;
import com.monkey.utils.UserThreadLocal;
import com.monkey.vo.Results;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author：monkey-L
 * @description: .
 * @date: 20:30 2021/10/5
 */
@RestController
@RequestMapping("test")
public class TestController {

    @RequestMapping
    public Results test(){
        SysUser sysUser = UserThreadLocal.get();
        System.out.println(sysUser);
        return Results.success(null);
    }
}
